using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;

namespace SimpleServiceBus.Endpoints.ActiveMQ.Configuration {

    public class MessageHandlerAdapter {

        //-----< Fields >-----
        //----------------------------------------------------------------------------------        


        //-----< Constructors >-----
        //----------------------------------------------------------------------------------        


        //-----< Public and protected properties >-----
        //----------------------------------------------------------------------------------        


        //-----< Public and protected methods >-----
        //----------------------------------------------------------------------------------        

        public virtual Boolean IsMessageHandler(Type type) {
            return type.IsMessageHandler();
        }

        public virtual Type[] Adapt(Type type) {
            return new Type[] { type };
        }

        //-----< Events >-----
        //----------------------------------------------------------------------------------        


        //-----< Internal members >-----
        //----------------------------------------------------------------------------------        


        //-----< Private members >-----
        //----------------------------------------------------------------------------------        


        //-----< All nested types >-----
        //----------------------------------------------------------------------------------        


        //-----< All explicit interface implementations >-----
        //----------------------------------------------------------------------------------        


    }
}

